Controlling a Stepper Motor With an Arduino
This was tested for the Installation for Exhibition to bring a slight rotation onto a prism. With some minimal prior knowledge from the Arduino Beginners Workshop it took about less than one hour to make this work.
Motor connected to a 3D printed adapter


The components were rendered, 3D printed and laser cutted by Markus Bartz.
Why would you use an Arduino for that?
That's a valid question, because the same thing could be achieved with a regular motor and a simple electrical circuit. The advantage is that you can now control the motor's rotation using additional sensors via the Arduino. For example, you could now control the rotation using an ultrasonic sensor, or write a generative, randomization algorithm for the rotation.
Circuit Diagram for 28BYJ-48 Stepper Motor with Arduino
Main components used
- 28BYJ-48 stepper motor
- ULN2003 driver board
- Arduino Uno Rev3

Read more about how this motor works and how to set it up here:
28BYJ-48 Stepper Motor With Arduino Using ULN2003 Driver
Controlling a Stepper Motor With an Arduino
This was tested for the Installation for Exhibition to bring a slight rotation onto a prism. With some minimal prior knowledge from the Arduino Beginners Workshop it took about less than one hour to make this work.
Motor connected to a 3D printed adapter


The components were rendered, 3D printed and laser cutted by Markus Bartz.
Why would you use an Arduino for that?
That's a valid question, because the same thing could be achieved with a regular motor and a simple electrical circuit. The advantage is that you can now control the motor's rotation using additional sensors via the Arduino. For example, you could now control the rotation using an ultrasonic sensor, or write a generative, randomization algorithm for the rotation.
Circuit Diagram for 28BYJ-48 Stepper Motor with Arduino
Main components used
- 28BYJ-48 stepper motor
- ULN2003 driver board
- Arduino Uno Rev3

Read more about how this motor works and how to set it up here:
28BYJ-48 Stepper Motor With Arduino Using ULN2003 Driver